package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.MemberType;
import org.hxyjs.entity.MemberTypeExample;


public interface MemberTypeMapper {
    long countByExample(MemberTypeExample example);

    int deleteByExample(MemberTypeExample example);

    int deleteByPrimaryKey(String mtno);

    int insert(MemberType record);

    int insertSelective(MemberType record);

    String getMaxMtno();

    List<MemberType> selectByExample(MemberTypeExample example);

    List<MemberType> getMemberTypesByPage(Map<String, Object> map);

    MemberType selectByPrimaryKey(String mtno);

    int updateByExampleSelective(@Param("record") MemberType record, @Param("example") MemberTypeExample example);

    int updateByExample(@Param("record") MemberType record, @Param("example") MemberTypeExample example);

    int updateByPrimaryKeySelective(MemberType record);

    int updateByPrimaryKey(MemberType record);
}
